package com.sc.nft.entity.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.UserMerchantPledgeTaskStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class UserMerchantPledgeTaskRecordDetailsVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("质押藏品")
    private String pledgeCollectionName;

    @ApiModelProperty("质押藏品数量")
    private Integer pledgeCount;

    @ApiModelProperty("剩余天数")
    private Integer remainingDays;

    @ApiModelProperty("奖励次数")
    private Integer rewardsCount;

    @ApiModelProperty("质押任务状态 : NOT_YET_STARTED:未开始 IN_PLEDGE:质押中 COMPLETED:已完成 ALREADY_ENDED:已结束")
    private UserMerchantPledgeTaskStatusEnum status;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
}
